﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace eProcurement.controls
{
    public partial class CategoryItemControl : System.Web.UI.UserControl
    {
        protected void Page_Load( object sender, EventArgs e )
        {

        }

        public void Setup( string category, int amount )
        {
            lblCount.InnerText = amount.ToString();
            lblIndustry.InnerText = category;
            catlink.Attributes.Add( "href", "../members/OpenBids.aspx?type=category&action=" + category );
        }
    }
}